package com.ebupt.migu.music.pubBroadcast.mapper;

import com.ebupt.migu.music.pubBroadcast.entity.createPolicy.BroadcastTagVo;
import com.ebupt.migu.music.pubBroadcast.entity.createPolicy.BroadcastTagsPo;
import com.ebupt.migu.music.pubBroadcast.entity.createPolicy.CreatePolicyBo;
import com.ebupt.migu.music.pubBroadcast.entity.createPolicy.FeeServicePo;
import com.ebupt.migu.music.pubBroadcast.entity.createPolicy.PkgServicePo;
import com.ebupt.migu.music.pubBroadcast.entity.createPolicy.PlayListTagVo;
import com.ebupt.migu.music.pubBroadcast.entity.createPolicy.StoreTagVo;
import com.ebupt.migu.music.pubBroadcast.entity.createPolicy.TagInfoBo;
import com.ebupt.migu.music.pubBroadcast.entity.createPolicy.TagInfoPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CreatePolicyMapper {

    //获取店铺的标签
    List<StoreTagVo> storeTag();

    //音乐馆标签
    List<PlayListTagVo> playListTags();

    //语音播报标签
    List<BroadcastTagsPo> broadcastTags();

    //套餐标签-业务
    List<PkgServicePo> pkgService();

    //套餐标签-资费
    List<FeeServicePo> feeService();

    //音乐馆、店铺根据父标签ID获取子标签或者根据标签ID 获取标签
    List<TagInfoPo> tagInfo(TagInfoBo tagInfoBo);

    //删除以前的公播数据
    void deleteOldPolicyData(String activityId);

    //公播平台活动详情插入数据
    void broadcastActivityInfo(CreatePolicyBo createPolicyBo);

    //公播平台标签客群
    void batchBroadcastTags(@Param("list") List<BroadcastTagVo> broadcastTags,@Param("activityId") String activityId);

    //公播平台文件导入客群
    void broadcastCustomerFile(CreatePolicyBo createPolicyBo);

    //公播平台手工录入客群
    void broadcastCustomerInput(@Param("list") List<String> storeIds,@Param("activityId") String activityId);

    //banner
    void broadcastBannerInfo(CreatePolicyBo createPolicyBo);

    //歌单广场
    void broadcastPlaylistInfo(CreatePolicyBo createPolicyBo);

    //语音播报
    void broadcastRadioInfo(CreatePolicyBo createPolicyBo);
}
